﻿using System.Text.Json.Serialization;

namespace Aurora.AI.Wiki.Models.Images;

public class ImageCreateResponse
{
    public List<ImageDataResult> data { get; set; }
    public int created { get; set; }
    public bool successful { get; set; }
    public string  message { get; set; }
    public string id { get; set; }
    public record ImageDataResult
    {
        [JsonPropertyName("url")] public string Url { get; set; }
        [JsonPropertyName("b64_json")] public string B64 { get; set; }
        [JsonPropertyName("revised_prompt")] public string RevisedPrompt { get; set; }
    }
}
